package com.snail.starter.redis.enums;

import java.util.concurrent.TimeUnit;

/**
 * @author: snail framework
 * @Date: 2023/3/3 下午1:48
 * @Version: 1.0.0
 */
public interface IRedisKey {

    default String getLockPrefix(){
        return "88888888:";
    }

    String getPreFixKey();

    Object getDefaultValue();

    long getTtl();

    TimeUnit getTimeUnit();

}